package com.car.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("t_part_battery_pack_information")
public class TPartBatteryPackInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "battery_bag_id", type = IdType.ID_WORKER)
    private String batteryBagId;

    private String batteryBagEncoding;

    private String batteryBagModelName;

    private String batteryBagModelId;

    private Integer realityCapacity;

    private Integer realityVoltage;

    private Integer realityQuality;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate deliveryTime;

    private String thisBatteryParkEncoding;

    @TableField("this_car_VIN")
    private String thisCarVin;


}
